<!DOCTYPE html>
<html>
    <head>

    </head>
    <body>


    </body>
    <script>
        var x = 3;
        var y = "3";
        var z = 5;
        z += y;
        var a = y + z;
        document.write(x+y+'<br/>');
        document.write(z+'<br/>');
        document.write(a+'<br/>');
        document.write(x+y+z+'<br/>');
    </script>
</html>